﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Register.Master" Inherits="System.Web.Mvc.ViewPage<Defect_Tracking_System.Models.RegisterModel>" %>
<%@ Import Namespace="Helpers" %>
<asp:Content ID="registerTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Register
</asp:Content>

<asp:Content ID="registerContent" ContentPlaceHolderID="MainContent" runat="server">
    <div id="page-heading"><h1>Register</h1></div>
    
        <table border="0" cellpadding="0" cellspacing="0" id="content-table" width="100%">
        <tr>
            <th rowspan="3" class="sized"><img src="/Content/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
            <th class="topleft"></th>
            <td id="tbl-border-top">&nbsp;</td>
            <th class="topright"></th>
            <th rowspan="3" class="sized"><img src="/Content/images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
        </tr>
        <tr>
            <td id="tbl-border-left"></td>
            <td>
            
                <!--  start content-table-inner -->
                <div id="content-table-inner">
                <% using (Html.BeginForm()) { %>
                    <% if (ViewData["message"] != null)
                       {%>
                        <div id="message-yellow">
				        <table border="0" width="100%" cellpadding="0" cellspacing="0">
				        <tr>
					        <td class="yellow-left"><%: ViewData["message"] %></td>
					        <td class="yellow-right"><a class="close-yellow"><img src="/Content/images/table/icon_close_yellow.gif" alt=""></a></td>
				        </tr>
				        </table>
				        </div>
                    <% } %>
                    <table border="0" cellpadding="0" cellspacing="0">
                    <tr valign="top">
                        <td>
              
                            <!-- start id-form -->
                            <table border="0" cellpadding="0" cellspacing="0"  id="id-form">
                            <tr>
                                <th valign="top">First Name:</th>
                                <td>
                                <%: Html.MyTextBoxFor(m => m.FirstName)%>
                                </td>
                                <td><%: Html.MyValidationMessageFor(m => m.FirstName)%></td>
                            </tr>
                            <tr>
                                <th valign="top">Last Name:</th>
                                <td><%: Html.MyTextBoxFor(m => m.LastName)%></td>
                                <td><%: Html.MyValidationMessageFor(m => m.LastName)%></td>
                            </tr>
                            <tr>
                                <th valign="top">User Name:</th>
                                <td><%: Html.MyTextBoxFor(m => m.UserName)%></td>
                                <td><%: Html.MyValidationMessageFor(m => m.UserName)%></td>
                            </tr>
                            <tr>
                                <th valign="top">Password:</th>
                                <td><%: Html.MyPasswordFor(m => m.Password)%></td>
                                <td><%: Html.MyValidationMessageFor(m => m.Password)%></td>
                            </tr>
                            <tr>
                                <th valign="top">Confirm Password:</th>
                                <td><%: Html.MyPasswordFor(m => m.ConfirmPassword)%></td>
                                <td><%: Html.MyValidationMessageFor(m => m.ConfirmPassword)%></td>
                            </tr>
                            <tr>
                                <th valign="top">Email:</th>
                                <td><%: Html.MyTextBoxFor(m => m.Email)%></td>
                                <td><%: Html.MyValidationMessageFor(m => m.Email)%></td>
                            </tr>
                            <tr>
                                <th valign="top">Address:</th>
                                <td><%: Html.MyTextBoxFor(m => m.Address)%></td>
                                <td><%: Html.MyValidationMessageFor(m => m.Address)%></td>
                            </tr>
                            <tr>
                                <th valign="top">Group Name:</th>
                                <td><%: Html.MyTextBoxFor(m => m.GroupName)%></td>
                                <td><%: Html.MyValidationMessageFor(m => m.GroupName)%></td>
                            </tr>
                            <tr>
                                <th>&nbsp;</th>
                                <td valign="top">
                                    <input type="submit" value="" class="form-submit" />
                                    <input type="reset" value="" class="form-reset"  />
                                </td>
                                <td></td>
                            </tr>
                            </table>
                            <!-- end id-form  -->
                
                        </td>
                    </tr>
                    </table>
                    <% } %>
                    <div class="clear"></div>
          
                </div>
                <!--  end content-table-inner  -->
      
      		</td>
			<td id="tbl-border-right"></td>
		</tr>
      	<tr>
            <th class="sized bottomleft"></th>
            <td id="tbl-border-bottom">&nbsp;</td>
            <th class="sized bottomright"></th>
      	</tr>
		</table>
    
    	<div class="clear">&nbsp;</div>
</asp:Content>
